"use strict";
exports.__esModule = true;
var user_entity_1 = require("../src/entity/user.list.entity");
var component_entity_1 = require("../src/entity/component.entity");
var component_version_entity_1 = require("../src/entity/component.version.entity");
var category_entity_1 = require("../src/entity/category.entity");
var department_entity_1 = require("../src/entity/department.entity");
// let redisAddress = '1.117.231.64:6380';
// let mysqlAddress = '1.117.231.64';
var redisAddress = 'localhost:6379';
var mysqlAddress = '127.0.0.1';
var dev = true;
exports["default"] = {
    Redis: [redisAddress],
    Mysql: {
        host: mysqlAddress,
        port: 3306,
        username: 'root',
        password: '123456',
        database: 'comp_market',
        entities: [user_entity_1.UserEntity, component_entity_1.ComponentEntity, component_version_entity_1.ComponentVersionEntity, category_entity_1.CategoryEntity, department_entity_1.DepartmentEntity],
        synchronize: true
    },
    TokenKeyPrefix: 'user:token:',
    TokenExpireSecond: 2678400,
    domain: 'http://localhost:3002',
    publicPath: 'public',
    publicPrefix: '/static',
    imgUploadPath: '/upload/img',
    zipUploadPath: '/upload/source',
    componentUploadPath: '/upload/components',
    AuthExternal: [
        '/market/user/registry',
        '/market/user/login'
    ]
};
